﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesBSW.DAL.MesDB
{
    [Serializable]
    [Table("pp_site")]
    public class ProdProcSite
    {
        /// <summary>
        /// ID，主键，自增长
        /// </summary>
        [Key]
        [Column("id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        /// <summary>
        /// 工单ID
        /// </summary>
        [Column("pp_id")]
        public int ProdProcID { get; set; }

        /// <summary>
        /// 站点组ID
        /// </summary>
        [Column("site_group_id")]
        public int SiteGroupID { get; set; }

        /// <summary>
        /// 建档人
        /// </summary>
        [Column("create_user")]
        public string CreateUser { get; set; }


        /// <summary>
        /// 建档日期
        /// </summary>
        [Column("create_date")]
        public DateTime? CreateDate { get; set; }
    }
}
